﻿using HomeCloudStorageSystem.Models;

namespace HomeCloudStorageSystem.Services
{
    public interface IDiaryRepository
    {
        IEnumerable<Diary> GetDiarieByUserIds(int userId);
        Diary GetDiaryByIdUserId(int id);
        void AddDiary(Diary diary);
        void RemoveDiary(Diary diary);
        bool Save();
    }
}
